3.8.28 \(\int \frac {1}{(a+b \cos (c+d x))^3 \sec ^{\frac {3}{2}}(c+d x)} \, dx\) [728]

Optimal. Leaf size=302 \[ -\frac {\left (a^2+5 b^2\right ) \sqrt {\cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{4 b \left (a^2-b^2\right )^2 d}+\frac {a \left (a^2-7 b^2\right ) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{4 b^2 \left (a^2-b^2\right )^2 d}-\frac {\left (a^4-10 a^2 b^2-3 b^4\right ) \sqrt {\cos (c+d x)} \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{4 (a-b)^2 b^2 (a+b)^3 d}-\frac {b \sqrt {\sec (c+d x)} \sin (c+d x)}{2 \left (a^2-b^2\right ) d (b+a \sec (c+d x))^2}+\frac {3 \left (a^2+b^2\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{4 \left (a^2-b^2\right )^2 d (b+a \sec (c+d x))} \]

[Out]

-1/2*b*sin(d*x+c)*sec(d*x+c)^(1/2)/(a^2-b^2)/d/(b+a*sec(d*x+c))^2+3/4*(a^2+b^2)*sin(d*x+c)*sec(d*x+c)^(1/2)/(a
^2-b^2)^2/d/(b+a*sec(d*x+c))-1/4*(a^2+5*b^2)*(cos(1/2*d*x+1/2*c)^2)^(1/2)/cos(1/2*d*x+1/2*c)*EllipticE(sin(1/2
*d*x+1/2*c),2^(1/2))*cos(d*x+c)^(1/2)*sec(d*x+c)^(1/2)/b/(a^2-b^2)^2/d+1/4*a*(a^2-7*b^2)*(cos(1/2*d*x+1/2*c)^2
)^(1/2)/cos(1/2*d*x+1/2*c)*EllipticF(sin(1/2*d*x+1/2*c),2^(1/2))*cos(d*x+c)^(1/2)*sec(d*x+c)^(1/2)/b^2/(a^2-b^
2)^2/d-1/4*(a^4-10*a^2*b^2-3*b^4)*(cos(1/2*d*x+1/2*c)^2)^(1/2)/cos(1/2*d*x+1/2*c)*EllipticPi(sin(1/2*d*x+1/2*c
),2*b/(a+b),2^(1/2))*cos(d*x+c)^(1/2)*sec(d*x+c)^(1/2)/(a-b)^2/b^2/(a+b)^3/d

________________________________________________________________________________________

Rubi [A]
time = 0.44, antiderivative size = 302, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 10, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.435, Rules used = {3317, 3929, 4185, 4191, 3934, 2884, 3872, 3856, 2719, 2720} \begin {gather*} \frac {3 \left (a^2+b^2\right ) \sin (c+d x) \sqrt {\sec (c+d x)}}{4 d \left (a^2-b^2\right )^2 (a \sec (c+d x)+b)}-\frac {b \sin (c+d x) \sqrt {\sec (c+d x)}}{2 d \left (a^2-b^2\right ) (a \sec (c+d x)+b)^2}+\frac {a \left (a^2-7 b^2\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 b^2 d \left (a^2-b^2\right )^2}-\frac {\left (a^2+5 b^2\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{4 b d \left (a^2-b^2\right )^2}-\frac {\left (a^4-10 a^2 b^2-3 b^4\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right )}{4 b^2 d (a-b)^2 (a+b)^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((a + b*Cos[c + d*x])^3*Sec[c + d*x]^(3/2)),x]

[Out]

-1/4*((a^2 + 5*b^2)*Sqrt[Cos[c + d*x]]*EllipticE[(c + d*x)/2, 2]*Sqrt[Sec[c + d*x]])/(b*(a^2 - b^2)^2*d) + (a*
(a^2 - 7*b^2)*Sqrt[Cos[c + d*x]]*EllipticF[(c + d*x)/2, 2]*Sqrt[Sec[c + d*x]])/(4*b^2*(a^2 - b^2)^2*d) - ((a^4
 - 10*a^2*b^2 - 3*b^4)*Sqrt[Cos[c + d*x]]*EllipticPi[(2*b)/(a + b), (c + d*x)/2, 2]*Sqrt[Sec[c + d*x]])/(4*(a
- b)^2*b^2*(a + b)^3*d) - (b*Sqrt[Sec[c + d*x]]*Sin[c + d*x])/(2*(a^2 - b^2)*d*(b + a*Sec[c + d*x])^2) + (3*(a
^2 + b^2)*Sqrt[Sec[c + d*x]]*Sin[c + d*x])/(4*(a^2 - b^2)^2*d*(b + a*Sec[c + d*x]))

Rule 2719

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticE[(1/2)*(c - Pi/2 + d*x), 2], x] /; FreeQ[{
c, d}, x]

Rule 2720

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticF[(1/2)*(c - Pi/2 + d*x), 2], x] /; FreeQ
[{c, d}, x]

Rule 2884

Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp
[(2/(f*(a + b)*Sqrt[c + d]))*EllipticPi[2*(b/(a + b)), (1/2)*(e - Pi/2 + f*x), 2*(d/(c + d))], x] /; FreeQ[{a,
 b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[c + d, 0]

Rule 3317

Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(m_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^(n_.))^(p_.), x_Symbol] :> Dist
[d^(n*p), Int[(d*Csc[e + f*x])^(m - n*p)*(b + a*Csc[e + f*x]^n)^p, x], x] /; FreeQ[{a, b, d, e, f, m, n, p}, x
] &&  !IntegerQ[m] && IntegersQ[n, p]

Rule 3856

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Dist[(b*Csc[c + d*x])^n*Sin[c + d*x]^n, Int[1/Sin[c + d
*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]

Rule 3872

Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_.)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)), x_Symbol] :> Dist[a, Int[(d*
Csc[e + f*x])^n, x], x] + Dist[b/d, Int[(d*Csc[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, d, e, f, n}, x]

Rule 3929

Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> Simp[a*d^2*
Cot[e + f*x]*(a + b*Csc[e + f*x])^(m + 1)*((d*Csc[e + f*x])^(n - 2)/(f*(m + 1)*(a^2 - b^2))), x] - Dist[d^2/((
m + 1)*(a^2 - b^2)), Int[(a + b*Csc[e + f*x])^(m + 1)*(d*Csc[e + f*x])^(n - 2)*(a*(n - 2) + b*(m + 1)*Csc[e +
f*x] - a*(m + n)*Csc[e + f*x]^2), x], x] /; FreeQ[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0] && LtQ[m, -1] && Lt
Q[1, n, 2] && IntegersQ[2*m, 2*n]

Rule 3934

Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(3/2)/(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)), x_Symbol] :> Dist[d*Sqrt[d*S
in[e + f*x]]*Sqrt[d*Csc[e + f*x]], Int[1/(Sqrt[d*Sin[e + f*x]]*(b + a*Sin[e + f*x])), x], x] /; FreeQ[{a, b, d
, e, f}, x] && NeQ[a^2 - b^2, 0]

Rule 4185

Int[((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))*(csc[(e_.) + (f_.)*(x_)]*(d_.))^
(n_)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> Simp[(A*b^2 - a*b*B + a^2*C)*Cot[e + f*x]*(a +
b*Csc[e + f*x])^(m + 1)*((d*Csc[e + f*x])^n/(a*f*(m + 1)*(a^2 - b^2))), x] + Dist[1/(a*(m + 1)*(a^2 - b^2)), I
nt[(a + b*Csc[e + f*x])^(m + 1)*(d*Csc[e + f*x])^n*Simp[a*(a*A - b*B + a*C)*(m + 1) - (A*b^2 - a*b*B + a^2*C)*
(m + n + 1) - a*(A*b - a*B + b*C)*(m + 1)*Csc[e + f*x] + (A*b^2 - a*b*B + a^2*C)*(m + n + 2)*Csc[e + f*x]^2, x
], x], x] /; FreeQ[{a, b, d, e, f, A, B, C, n}, x] && NeQ[a^2 - b^2, 0] && LtQ[m, -1] &&  !(ILtQ[m + 1/2, 0] &
& ILtQ[n, 0])

Rule 4191

Int[((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))/(Sqrt[csc[(e_.) + (f_.)*(x_)]*(d
_.)]*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))), x_Symbol] :> Dist[(A*b^2 - a*b*B + a^2*C)/(a^2*d^2), Int[(d*Csc[
e + f*x])^(3/2)/(a + b*Csc[e + f*x]), x], x] + Dist[1/a^2, Int[(a*A - (A*b - a*B)*Csc[e + f*x])/Sqrt[d*Csc[e +
 f*x]], x], x] /; FreeQ[{a, b, d, e, f, A, B, C}, x] && NeQ[a^2 - b^2, 0]

Rubi steps

\begin {align*} \int \frac {1}{(a+b \cos (c+d x))^3 \sec ^{\frac {3}{2}}(c+d x)} \, dx &=\int \frac {\sec ^{\frac {3}{2}}(c+d x)}{(b+a \sec (c+d x))^3} \, dx\\ &=-\frac {b \sqrt {\sec (c+d x)} \sin (c+d x)}{2 \left (a^2-b^2\right ) d (b+a \sec (c+d x))^2}-\frac {\int \frac {-\frac {b}{2}-2 a \sec (c+d x)+\frac {3}{2} b \sec ^2(c+d x)}{\sqrt {\sec (c+d x)} (b+a \sec (c+d x))^2} \, dx}{2 \left (a^2-b^2\right )}\\ &=-\frac {b \sqrt {\sec (c+d x)} \sin (c+d x)}{2 \left (a^2-b^2\right ) d (b+a \sec (c+d x))^2}+\frac {3 \left (a^2+b^2\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{4 \left (a^2-b^2\right )^2 d (b+a \sec (c+d x))}-\frac {\int \frac {\frac {1}{4} b \left (a^2+5 b^2\right )+3 a b^2 \sec (c+d x)-\frac {3}{4} b \left (a^2+b^2\right ) \sec ^2(c+d x)}{\sqrt {\sec (c+d x)} (b+a \sec (c+d x))} \, dx}{2 b \left (a^2-b^2\right )^2}\\ &=-\frac {b \sqrt {\sec (c+d x)} \sin (c+d x)}{2 \left (a^2-b^2\right ) d (b+a \sec (c+d x))^2}+\frac {3 \left (a^2+b^2\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{4 \left (a^2-b^2\right )^2 d (b+a \sec (c+d x))}-\frac {\int \frac {\frac {1}{4} b^2 \left (a^2+5 b^2\right )-\left (-3 a b^3+\frac {1}{4} a b \left (a^2+5 b^2\right )\right ) \sec (c+d x)}{\sqrt {\sec (c+d x)}} \, dx}{2 b^3 \left (a^2-b^2\right )^2}-\frac {\left (a^4-10 a^2 b^2-3 b^4\right ) \int \frac {\sec ^{\frac {3}{2}}(c+d x)}{b+a \sec (c+d x)} \, dx}{8 b^2 \left (a^2-b^2\right )^2}\\ &=-\frac {b \sqrt {\sec (c+d x)} \sin (c+d x)}{2 \left (a^2-b^2\right ) d (b+a \sec (c+d x))^2}+\frac {3 \left (a^2+b^2\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{4 \left (a^2-b^2\right )^2 d (b+a \sec (c+d x))}+\frac {\left (a \left (a^2-7 b^2\right )\right ) \int \sqrt {\sec (c+d x)} \, dx}{8 b^2 \left (a^2-b^2\right )^2}-\frac {\left (a^2+5 b^2\right ) \int \frac {1}{\sqrt {\sec (c+d x)}} \, dx}{8 b \left (a^2-b^2\right )^2}-\frac {\left (\left (a^4-10 a^2 b^2-3 b^4\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx}{8 b^2 \left (a^2-b^2\right )^2}\\ &=-\frac {\left (a^4-10 a^2 b^2-3 b^4\right ) \sqrt {\cos (c+d x)} \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{4 (a-b)^2 b^2 (a+b)^3 d}-\frac {b \sqrt {\sec (c+d x)} \sin (c+d x)}{2 \left (a^2-b^2\right ) d (b+a \sec (c+d x))^2}+\frac {3 \left (a^2+b^2\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{4 \left (a^2-b^2\right )^2 d (b+a \sec (c+d x))}+\frac {\left (a \left (a^2-7 b^2\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{8 b^2 \left (a^2-b^2\right )^2}-\frac {\left (\left (a^2+5 b^2\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \sqrt {\cos (c+d x)} \, dx}{8 b \left (a^2-b^2\right )^2}\\ &=-\frac {\left (a^2+5 b^2\right ) \sqrt {\cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{4 b \left (a^2-b^2\right )^2 d}+\frac {a \left (a^2-7 b^2\right ) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{4 b^2 \left (a^2-b^2\right )^2 d}-\frac {\left (a^4-10 a^2 b^2-3 b^4\right ) \sqrt {\cos (c+d x)} \Pi \left (\frac {2 b}{a+b};\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{4 (a-b)^2 b^2 (a+b)^3 d}-\frac {b \sqrt {\sec (c+d x)} \sin (c+d x)}{2 \left (a^2-b^2\right ) d (b+a \sec (c+d x))^2}+\frac {3 \left (a^2+b^2\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{4 \left (a^2-b^2\right )^2 d (b+a \sec (c+d x))}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(665\) vs. \(2(302)=604\).
time = 36.75, size = 665, normalized size = 2.20 \begin {gather*} -\frac {\frac {2 \left (-5 a^2-b^2\right ) \cos ^2(c+d x) \left (F\left (\left .\text {ArcSin}\left (\sqrt {\sec (c+d x)}\right )\right |-1\right )-\Pi \left (-\frac {a}{b};\left .\text {ArcSin}\left (\sqrt {\sec (c+d x)}\right )\right |-1\right )\right ) (b+a \sec (c+d x)) \sqrt {1-\sec ^2(c+d x)} \sin (c+d x)}{a (a+b \cos (c+d x)) \left (1-\cos ^2(c+d x)\right )}+\frac {48 a \cos ^2(c+d x) \Pi \left (-\frac {a}{b};\left .\text {ArcSin}\left (\sqrt {\sec (c+d x)}\right )\right |-1\right ) (b+a \sec (c+d x)) \sqrt {1-\sec ^2(c+d x)} \sin (c+d x)}{(a+b \cos (c+d x)) \left (1-\cos ^2(c+d x)\right )}+\frac {\left (a^2+5 b^2\right ) \cos (2 (c+d x)) (b+a \sec (c+d x)) \left (-4 a b+4 a b \sec ^2(c+d x)-4 a b E\left (\left .\text {ArcSin}\left (\sqrt {\sec (c+d x)}\right )\right |-1\right ) \sqrt {\sec (c+d x)} \sqrt {1-\sec ^2(c+d x)}+2 (2 a-b) b F\left (\left .\text {ArcSin}\left (\sqrt {\sec (c+d x)}\right )\right |-1\right ) \sqrt {\sec (c+d x)} \sqrt {1-\sec ^2(c+d x)}-4 a^2 \Pi \left (-\frac {a}{b};\left .\text {ArcSin}\left (\sqrt {\sec (c+d x)}\right )\right |-1\right ) \sqrt {\sec (c+d x)} \sqrt {1-\sec ^2(c+d x)}+2 b^2 \Pi \left (-\frac {a}{b};\left .\text {ArcSin}\left (\sqrt {\sec (c+d x)}\right )\right |-1\right ) \sqrt {\sec (c+d x)} \sqrt {1-\sec ^2(c+d x)}\right ) \sin (c+d x)}{a b^2 (a+b \cos (c+d x)) \left (1-\cos ^2(c+d x)\right ) \sqrt {\sec (c+d x)} \left (2-\sec ^2(c+d x)\right )}}{16 (a-b)^2 (a+b)^2 d}+\frac {\sqrt {\sec (c+d x)} \left (\frac {\left (a^2+5 b^2\right ) \sin (c+d x)}{4 b \left (-a^2+b^2\right )^2}+\frac {a^2 \sin (c+d x)}{2 b \left (-a^2+b^2\right ) (a+b \cos (c+d x))^2}+\frac {a^3 \sin (c+d x)-7 a b^2 \sin (c+d x)}{4 b \left (-a^2+b^2\right )^2 (a+b \cos (c+d x))}\right )}{d} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[1/((a + b*Cos[c + d*x])^3*Sec[c + d*x]^(3/2)),x]

[Out]

-1/16*((2*(-5*a^2 - b^2)*Cos[c + d*x]^2*(EllipticF[ArcSin[Sqrt[Sec[c + d*x]]], -1] - EllipticPi[-(a/b), ArcSin
[Sqrt[Sec[c + d*x]]], -1])*(b + a*Sec[c + d*x])*Sqrt[1 - Sec[c + d*x]^2]*Sin[c + d*x])/(a*(a + b*Cos[c + d*x])
*(1 - Cos[c + d*x]^2)) + (48*a*Cos[c + d*x]^2*EllipticPi[-(a/b), ArcSin[Sqrt[Sec[c + d*x]]], -1]*(b + a*Sec[c
+ d*x])*Sqrt[1 - Sec[c + d*x]^2]*Sin[c + d*x])/((a + b*Cos[c + d*x])*(1 - Cos[c + d*x]^2)) + ((a^2 + 5*b^2)*Co
s[2*(c + d*x)]*(b + a*Sec[c + d*x])*(-4*a*b + 4*a*b*Sec[c + d*x]^2 - 4*a*b*EllipticE[ArcSin[Sqrt[Sec[c + d*x]]
], -1]*Sqrt[Sec[c + d*x]]*Sqrt[1 - Sec[c + d*x]^2] + 2*(2*a - b)*b*EllipticF[ArcSin[Sqrt[Sec[c + d*x]]], -1]*S
qrt[Sec[c + d*x]]*Sqrt[1 - Sec[c + d*x]^2] - 4*a^2*EllipticPi[-(a/b), ArcSin[Sqrt[Sec[c + d*x]]], -1]*Sqrt[Sec
[c + d*x]]*Sqrt[1 - Sec[c + d*x]^2] + 2*b^2*EllipticPi[-(a/b), ArcSin[Sqrt[Sec[c + d*x]]], -1]*Sqrt[Sec[c + d*
x]]*Sqrt[1 - Sec[c + d*x]^2])*Sin[c + d*x])/(a*b^2*(a + b*Cos[c + d*x])*(1 - Cos[c + d*x]^2)*Sqrt[Sec[c + d*x]
]*(2 - Sec[c + d*x]^2)))/((a - b)^2*(a + b)^2*d) + (Sqrt[Sec[c + d*x]]*(((a^2 + 5*b^2)*Sin[c + d*x])/(4*b*(-a^
2 + b^2)^2) + (a^2*Sin[c + d*x])/(2*b*(-a^2 + b^2)*(a + b*Cos[c + d*x])^2) + (a^3*Sin[c + d*x] - 7*a*b^2*Sin[c
 + d*x])/(4*b*(-a^2 + b^2)^2*(a + b*Cos[c + d*x]))))/d

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1835\) vs. \(2(354)=708\).
time = 0.81, size = 1836, normalized size = 6.08

method result size
default \(\text {Expression too large to display}\) \(1836\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a+b*cos(d*x+c))^3/sec(d*x+c)^(3/2),x,method=_RETURNVERBOSE)

[Out]

-(-(-2*cos(1/2*d*x+1/2*c)^2+1)*sin(1/2*d*x+1/2*c)^2)^(1/2)*(-4/b^2*a*(-b^2/a/(a^2-b^2)*cos(1/2*d*x+1/2*c)*(-2*
sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)/(2*cos(1/2*d*x+1/2*c)^2*b+a-b)-1/2/(a+b)/a*(sin(1/2*d*x+1/2*c
)^2)^(1/2)*(-2*cos(1/2*d*x+1/2*c)^2+1)^(1/2)/(-2*sin(1/2*d*x+1/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a^2/(a^2-b^2)^2*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/2*d*x+1/2*c)^2+1)^(1/2)/(-2*sin(1/2*d*
x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticE(cos(1/2*d*x+1/2*c),2^(1/2))-15/4*a^2/(a^2-b^2)^2/(-2*a*b+2*b^
2)*b*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/2*d*x+1/2*c)^2+1)^(1/2)/(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c
)^2)^(1/2)*EllipticPi(cos(1/2*d*x+1/2*c),-2*b/(a-b),2^(1/2))+3/2/(a^2-b^2)^2/(-2*a*b+2*b^2)*b^3*(sin(1/2*d*x+1
/2*c)^2)^(1/2)*(-2*cos(1/2*d*x+1/2*c)^2+1)^(1/2)/(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*Elliptic
Pi(cos(1/2*d*x+1/2*c),-2*b/(a-b),2^(1/2))-3/4/a^2/(a^2-b^2)^2/(-2*a*b+2*b^2)*b^5*(sin(1/2*d*x+1/2*c)^2)^(1/2)*
(-2*cos(1/2*d*x+1/2*c)^2+1)^(1/2)/(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticPi(cos(1/2*d*x+
1/2*c),-2*b/(a-b),2^(1/2)))-4/b/(-2*a*b+2*b^2)*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/2*d*x+1/2*c)^2+1)^(1/2)/
(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticPi(cos(1/2*d*x+1/2*c),-2*b/(a-b),2^(1/2)))/sin(1/
2*d*x+1/2*c)/(2*cos(1/2*d*x+1/2*c)^2-1)^(1/2)/d

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*cos(d*x+c))^3/sec(d*x+c)^(3/2),x, algorithm="maxima")

[Out]

integrate(1/((b*cos(d*x + c) + a)^3*sec(d*x + c)^(3/2)), x)

________________________________________________________________________________________

Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*cos(d*x+c))^3/sec(d*x+c)^(3/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*cos(d*x+c))**3/sec(d*x+c)**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*cos(d*x+c))^3/sec(d*x+c)^(3/2),x, algorithm="giac")

[Out]

integrate(1/((b*cos(d*x + c) + a)^3*sec(d*x + c)^(3/2)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2}\,{\left (a+b\,\cos \left (c+d\,x\right )\right )}^3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((1/cos(c + d*x))^(3/2)*(a + b*cos(c + d*x))^3),x)

[Out]

int(1/((1/cos(c + d*x))^(3/2)*(a + b*cos(c + d*x))^3), x)

________________________________________________________________________________________